﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="confirmnum.aspx.cs" Inherits="dzs.Web.Admin.distribution.confirmnum" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link href="../../css/myStyle.css" rel="stylesheet" />
    <script language="javascript" src="/js/CheckBox.js" type="text/javascript"></script>
    <link href="../lib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <link href="../lib/ligerUI/skins/ligerui-icons.css" rel="stylesheet" type="text/css" />
    <script src="../lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../lib/ligerUI/js/core/base.js" type="text/javascript"></script>
    <script src="../lib/ligerUI/js/plugins/ligerDrag.js" type="text/javascript"></script>
    <script src="../lib/ligerUI/js/plugins/ligerDialog.js" type="text/javascript"></script>
    <script src="../lib/ligerUI/js/plugins/ligerResizable.js" type="text/javascript"></script>
    <script src="../../Scripts/mybase.js"></script>
    <script src="../../js/CheckBox.js"></script>
    <script src="../../My97DatePicker/WdatePicker.js"></script>
    <script src="../../js/myjs.js"></script>
    <script language="javascript" type="text/javascript">
        //点击行出现下面的DIV
        function closedialog() {
            parent.$(".l-dialog,.l-window-mask").hide();
            parent.update();
            parent.$.ligerDialog.close();
        }
        function checknum()
        {
            var ori = $("#<%# hfnums.ClientID%>").val();
            var newnum = $("#<%# txtnum.ClientID%>").val();
            if (ori != newnum) {
                if (confirm("数量与配送数不同真的要操作吗？")) {
                    return true;
                }
                else { return false; }
            }
            else
                return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div style=" padding:15px; font-size:16px; font-weight:bold;">
    
        <asp:Label ID="lblmsg" runat="server"></asp:Label>
        :<asp:TextBox ID="txtnum" runat="server" Width="52px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtnum" ErrorMessage="RequiredFieldValidator" Display="Dynamic">不能为空</asp:RequiredFieldValidator>
        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtnum" ErrorMessage="CompareValidator" Operator="DataTypeCheck" Type="Double" Display="Dynamic">不是数值</asp:CompareValidator>
        <asp:Panel ID="pcheck" runat="server" Visible="False">
            <asp:CheckBox ID="ckbwg" runat="server" Text="外观完好" Checked="True" />
            、<asp:CheckBox ID="ckblld" runat="server" Text="配送联络单完整" Checked="True" />
            、<asp:CheckBox ID="ckbzl" runat="server" Text="资料齐全" Checked="True" />
            、<asp:CheckBox ID="ckbxh" runat="server" Text="型号一致" Checked="True" />
        </asp:Panel>
        <asp:Button ID="btnOK" runat="server" OnClick="btnOK_Click" Text="确定" OnClientClick="return checknum()" />
        <asp:Button ID="btnNOOK" runat="server" OnClick="btnNOOK_Click" Text="不能入库" CausesValidation="False" Visible="False" />
    
        <asp:HiddenField ID="hfnums" runat="server" />
    
        
    
    </div>
    </form>
</body>
</html>
